#include <logbase.h>
#include <inttypes.h>

int main(int argc, char **argv)
{
    int tmp1;
    char tmp2;
    tmp1 = strtol("123456", NULL, 10);
    logdebugc("%d", tmp1);
    tmp2 = strtol("de", NULL, 16);
    logdebugc("0x%02x", (uint8_t)tmp2);
    return 1;
}
